﻿@using doufu.Common
@using doufu.Model
@model PetaPoco.Page<permission>
    <h2>
    @ViewBag.Title @Html.ActionLink("Add","AddPermission")</h2>
<ul>
    @foreach (var entity in Model.Items)
    {
        <li><a href="@Url.Action("AddPermission", new { id = entity.permission_id})" target="_blank">@entity.permission_name</a>
        </li>
    }
    <li>
        @{ Html.Pager(Model); }
    </li>
</ul>
